import request from '@/utils/request'

// 查询待检库存查询列表
export function listInventoryQueryChecked(query) {
  return request({
    url: '/wareManagement/inventoryQueryChecked/list',
    method: 'get',
    params: query
  })
}

// 查询待检库存查询详细
export function getInventoryQueryChecked(checkedId) {
  return request({
    url: '/wareManagement/inventoryQueryChecked/' + checkedId,
    method: 'get'
  })
}

// 新增待检库存查询
export function addInventoryQueryChecked(data) {
  return request({
    url: '/wareManagement/inventoryQueryChecked',
    method: 'post',
    data: data
  })
}

// 修改待检库存查询
export function updateInventoryQueryChecked(data) {
  return request({
    url: '/wareManagement/inventoryQueryChecked',
    method: 'put',
    data: data
  })
}

// 删除待检库存查询
export function delInventoryQueryChecked(checkedId) {
  return request({
    url: '/wareManagement/inventoryQueryChecked/' + checkedId,
    method: 'delete'
  })
}
